package my.suveng.chat.export.task.model.result;

/**
 *
 * @author 苏文广
 *
 * @date 2020/10/5 17:06
 */
public enum ResultCode {
    //
    success(0, "成功"),
    //
    fail(1, "失败"),
    //
    have_some_error(2, "部分失败"),;

    private final String message;
    private final Integer code;

    ResultCode(Integer code, String message) {
        this.message = message;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
